"""
@name : server2
@author : FanMY_71
@projectname: myflask
@Time: 2022/8/16-22:46
"""
# 因为server很多笔记，所以用server2来作为server配置拆分后的程序入口文件
from app import create_app

# 创建核心对象
htapp = create_app()
# from create_flaskapp import htapp

htapp.run(
    host=htapp.config['HOST'],
    port=htapp.config['PORT'],
    debug=htapp.config['DEBUG']
)
